﻿<ribbon:RibbonWindow x:Class="SQLDataTransferer.MainWindow"
                     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                     xmlns:ribbon="clr-namespace:Microsoft.Windows.Controls.Ribbon;assembly=RibbonControlsLibrary"
                     Title="SQL DataTransferer"
                     x:Name="RibbonWindow"
                     WindowStartupLocation="CenterScreen"
                     Width="786"
                     Height="640">
    
    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <ribbon:Ribbon x:Name="Ribbon">
            <ribbon:Ribbon.ApplicationMenu>
                <ribbon:RibbonApplicationMenu SmallImageSource="Images\SmallIcon.png">
                    <ribbon:RibbonApplicationMenuItem Header="Exit"
                                                      x:Name="MenuItem1"
                                                      Command="ApplicationCommands.Close"
                                                      ImageSource="Images\LargeIcon.png"/>
                </ribbon:RibbonApplicationMenu>
            </ribbon:Ribbon.ApplicationMenu>
            <ribbon:RibbonTab x:Name="HomeTab" 
                              Header="Home">
                <ribbon:RibbonGroup x:Name="Group1" 
                                    Header="Group1">
                    <ribbon:RibbonButton x:Name="Button1"
                                         LargeImageSource="Images\LargeIcon.png"
                                         Label="Transfer"
                                         Command="{Binding TransferCommand}"/>                   
                    
                </ribbon:RibbonGroup>
                <ribbon:RibbonGroup Header="Group2">
                    <ribbon:RibbonButton x:Name="Button11"
                                         LargeImageSource="Images\LargeIcon.png"
                                         Label="Attach"
                                         Command="{Binding AttachCommand}"/>

                    <ribbon:RibbonButton x:Name="Button22"
                                         LargeImageSource="Images\LargeIcon.png"
                                         Label="Detach" 
                                         Command="{Binding DetachCommand}"/>
                </ribbon:RibbonGroup>
            </ribbon:RibbonTab>
            <ribbon:RibbonTab x:Name="SettingsTab" 
                              Header="Settings">
                <ribbon:RibbonGroup Header="Group3">
                    <ribbon:RibbonButton x:Name="Button111"
                                         LargeImageSource="Images\LargeIcon.png"
                                         Label="Settings"
                                         Command="{Binding SettingsCommand}"/>
                </ribbon:RibbonGroup>
            </ribbon:RibbonTab>
        </ribbon:Ribbon>
        <Border Grid.Row="1">
            <ContentControl Content="{Binding Path=Workspaces}"
                            ContentTemplate="{StaticResource WorkspacesTemplate}"/>
        </Border>
    </Grid>
</ribbon:RibbonWindow>
